<div class="ibox-content">
    <form class="form-horizontal" method="post" action="{:url('TenTenantType/bindModule')}">
        <input type="hidden" name="id" value="{$info.id|default='0'}">
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('授权名称')}</label>
            <div class="col-sm-8">
                <div class="row">
                    <p class="form-control-static">{$info.name|default=''}</p>
                </div>

                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">{:lang('选择模块')}</label>
            <div class="col-sm-8">
                <div class="row">
                    {volist name='module_select_list' id='vo'}
                    <div class="col-sm-3">
                        <div class="checkbox i-checks">
                            <input class='rules_all' type='checkbox' name="module_ids[]" value="{$vo.id}" {eq name="vo.tag" value='active'} checked='checked' {/eq} >{$vo['name']}
                        </div>
                    </div>
                    {/volist}
                </div>

                <span class="help-block m-b-none"></span>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-8">
                {include file="admin@layout/save_btn"}
            </div>
        </div>
    </form>
</div>